
ac.skill('贤者的祈祷'){
    temp = '攻击触发',
    model1 = [[4550.mdl]],
    model2 = [[TYTX_hf.mdl]],
    on_run = function(self,hero,target)
        local point = target:get_point()
        local damage = self:dmg_get()
        local lock = {}
        point:effect{
            model = self.model1,
            size = 2,
            time = 5,
        }
        ac.timer(200,25,function(t)
            hero:aoe_damage(point,300,damage,self,function(unit)
                if lock[unit.handle] and (lock[unit.handle]-ac.clock()>0) then
                    return true
                end
                lock[unit.handle] = ac.clock() + 1000
            end)
            for u in ac.selector('unit')
                : range(point,300)
                : ally(hero)
                : loop()
            do
                local heal = u:get('生命上限') * 0.02
                u:heal(heal)
                u:add_effect(self.model2,'origin',0.2)
            end

        end)
    end,
}